/*
 * StrahlentherapieUISession.hh
 *
 *  Created on: Oct 26, 2010
 *      Author: pwagner
 */

#ifndef StrahlentherapieUISession_h
#define StrahlentherapieUISession_h 1

#include "G4UIsession.hh"
#include <iostream>
#include <fstream>
using namespace std;

class G4UImanager;

class StrahlentherapieUISession: public G4UIsession {

	public:
		StrahlentherapieUISession();
		~StrahlentherapieUISession();

	public:
		G4int ReceiveG4cout(G4String coutString);
		G4int ReceiveG4clog(G4String clogString);
		G4int ReceiveG4cerr(G4String cerrString);

	private:
		ofstream runLogFile;
		ofstream errorLogFile;
		ofstream headLogFile;
		ofstream detectorPlateLogFile;
		ofstream energyHistLogFile;
		G4UImanager* UI;
};
#endif
